package com.example.common_base.net;

public class HttpResponseData<T> {
    private String status;
    private String code;
    private String msg;
    private T data;

    public HttpResponseData() {
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return msg;
    }

    public void setMessage(String message) {
        this.msg = message;
    }

    public T getData() {
        return this.data;
    }

    public void setData(T data) {
        this.data = data;
    }


    public String toString() {
        return "\n   [code: " + this.code + "\n     status: " + this.status +  "\n     msg: " + this.msg + "\n    data: " + this.data + "\n";
    }
}
